﻿#ifndef FINDPROTOCOLEDITOR_H
#define FINDPROTOCOLEDITOR_H

#include "sysprotocoleditor.h"

//查找面板

namespace Ui {
class FindProtocolEditor;
}

class FindProtocolEditor : public QWidget
{
    Q_OBJECT

public:
    explicit FindProtocolEditor(QWidget *parent = nullptr);
    ~FindProtocolEditor();

    void InitFindPanel();           //初始化面板

    void reset();
private:
    void UpdateFindProgressBar(int nVal);           //更新查找进度条


signals:
    void sendFindReult(int,int,int);
public slots:
    void on_FindBtn_clicked();
    void on_QuitBtn_clicked();
private slots:
    void on_MsgTree_itemDoubleClicked(QTreeWidgetItem *item, int column);

private:
    Ui::FindProtocolEditor *ui;
};

#endif // FINDPROTOCOLEDITOR_H
